package com.xuecheng.mode.utils;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author HongFei
 * @version 1.0
 * @description 分页数量设置
 * @date 2023/3/1 15:33
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class PageUtils {
    //    默认当前所在页
    public static final long DEFAULT_PAGE_CURRENT = 1L;
    //    默认每页数量
    public static final long DEFAULT_PAGE_SIZE = 10L;

    private long pageCurrent = DEFAULT_PAGE_CURRENT;

    private long pageSize = DEFAULT_PAGE_SIZE;

}
